<html>
<head>
    <meta charset="utf-8">
    <title>系统登陆</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
    <#--<link rel="stylesheet" href="/css/style.css">-->
</head>
<body>
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" method="post" action="/authentication/from.do">
                        <div class="form-group">
                            <label>用户名</label>
                            <input name="username" type="text" class="form-control" value="${(user.username)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>密码</label>
                            <input autocomplete="new-password" name="password" type="password" class="form-control" value="${(user.password)!''}"/>
                        <#--<input hidden type="text" name="categoryId" value="${(productCategory.categoryId)!0}">-->
                        </div>
                        <div class="form-group">
                            <label>图形验证码</label>
                            <input name="imageCode" type="text" class="form-control"/>
                            <img src="/code/image.do">
                        <#--<input hidden type="text" name="categoryId" value="${(productCategory.categoryId)!0}">-->
                        </div>
                        <div class="form-group">
                            <#-- remember-me 为固定 -->
                            <input name="remember-me" type="checkbox" value="true">记住我</input>
                        <#--<input hidden type="text" name="categoryId" value="${(productCategory.categoryId)!0}">-->
                        </div>
                        <button type="submit" class="btn btn-default">登陆</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" method="post" action="/authentication/mobile.do">
                        <div class="form-group">
                            <label>手机号</label>
                            <input name="mobile" type="text" class="form-control" value="18866133333"/>
                        </div>
                        <div class="form-group">
                            <label>短信验证码</label>
                            <input name="smsCode" type="text" class="form-control"/>
                            <a href="/code/sms.do?mobile=18866133333">发送验证码</a>
                        <#--<input hidden type="text" name="categoryId" value="${(productCategory.categoryId)!0}">-->
                        </div>
                        <button type="submit" class="btn btn-default">登陆</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</body>
</html>


